home *** CD-ROM | disk | FTP | other *** search
- Path: usenet.cis.ufl.edu!usenet
- From: ep@cis.ufl.edu (Ed Porras)
- Newsgroups: comp.lang.c++
- Subject: HELP: BC++ 4.52 owl combobox - what the hell is going on here?
- Date: 17 Apr 1996 18:33:37 GMT
- Organization: University of Florida (Computer Science Department)
- Message-ID: <1655.6681T872T766@cis.ufl.edu>
- NNTP-Posting-Host: dialup-c10.cis.ufl.edu
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- Hi,
-
- i'm in look for someone who might have had this problem in the past..
-
- i have an SDI application with a dialog client that contains
- 2 comboboxes (SRE_CBLIST1 & SRE_CB2LIST2)..
- i also have to child dialogs that contain a single combobox each..
- although all have different resource ID's (HEC_CBLIST1 * HUB_CBLIST2),
- the 2 cb's in the main dialog correspond to the 2 in the children
- dialogs (the are not shared, but hold mirror copies of the same
- lists)..
-
- the problem is that i initialize my buffers (comboboxdata) with n number
- of strings.. CBLIST1 comboboxes hold 9 elements while CBLIST2 comboboxes
- hold 16..
- after adding the strings, i select index 0 on all 4 but i get screwed up
- results:
-
- CBLIST1 show ok .. both of them have 9 elemnts, and element 1 (index 0)
- is selected),
-
- but both CBLIST2's appear with index 9 selected.. and when i try to
- scroll with the up arrow (decreasing index value), once it reaches index
- 1, it jumps up to 9 again, so it never stops if i hold the key down!!
- if i scroll the other way, they will stop at index 15..
-
- both children dialogs are poped up with menu entries, and everyone
- has its own independent buffer..
-
- does anyone have a clue what's going on here? it's frustrating the hell
- out of me..
-
- please mail me at
-
- ep@cis.ufl.edu
-
-
- thanks
-
- -e
-
- --
- ---------------------------------------------------------------
- Ed Porras | Email: ep@cis.ufl.edu
- 2777 SW Archer Rd. AJ-308 | WWW: http://www.cis.ufl.edu/~ep/
- Gainesville, Fl 32608 | University of Florida, CISE Dept.
- (352) 335-8169 | Work: (352) 373-2626
- ---------------------------------------------------------------
-
-
-